An integrated amplifier combines a pre-amplifier and a power amplifier in one box. Common features are multiple inputs, tone control (bass and treble adjustment) and remote control.
In 2005, I got fed up with never having enough inputs on my amplifier, and the lack of a remote control. Due to small speakers (due to small home), I was also missing out the bass. This project was set out to solve that.
The system is built around an Atmel ATMEGA32 microcontroller. It continously monitors the inputs, and controls the power supply unit, the digital potentiometers and tone control, as well as the input selector.
Being old-school, I still use my PC for playing MP3's. Here, a wish to control the playback software (Winamp) by remote control arises. Since the integrated amplifier already has an IR sensor, all I had to do was to add a serial port for communication between the microcontroller and PC, and some software.
A custom plugin for Winamp allows me to control functions like play, stop, pause etc from the amplifier remote control, and also retrieve information from Winamp about title, song and duration, which is presented on the display.
The audio source is selected from 10 inputs using relays. A 74HC4514 4-to-16 line decoder is used to reduce the number of I/O pins needed from the microcontroller, and also ensures that no more than one relay can be active at a time. 2 x ULN2003 drives the relays.
The input selector also has two outputs, one straight monitor output that outputs whatever input is selected (back in the days, this was typically connected to a tape-recorder), and one attenuated output (the output signal from the digital potentiometers), that can be used to drive an external power amplifier.
Being specialized in digital electronics, I just used the typical application from the datasheet for LM3886...
Same here, LMC1982 comes with volume, balance, tone, enhanced stereo and loudness.
Ok, here I put in a little more effort. Two heavy transformers (found at the backyard of my employer, hence the rust) provides enough power for welding if not careful. One relay per transformer connects them to mains and the microcontroller. A smaller relay is used to power the microcontroller and the stand-by electronics.
A third relay gives the opportunity to control a mains output by the remote, handy when using a separate power amplifier for mid-range and high frequencies, which I do. Since all three relays will break inductive loads, varistors protects the contact elements.
To not stress the capacitors and the rectifiers too much, they are connected to the transformers through power resistors, which keeps the initial current low. The resistors can bypassed by a relay after a while.